<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * @todo 	元数据模型
 * @copyright	
 * @author shiqiliang<ozil1987@gmail.com>
 * @package package_declaration
 * @subpackage mysite
 * @version 2013-12-13
 */
class Metadatas_model extends My_Model {
	
	var	$tableName			= 'sys_metadatas';
	
	function __construct()
    {
        parent::__construct();
		$this->load->database();
    }
	
	/*function getMetadatas($cond){ 
		try{ 
			$rs = $this->find($cond); 
			return $rs; 
		}catch(Exception $ex){ 
			return array(); 
		} 
	} 
	
	function saveGroup($group){
		$this->tableName = 'sys_metadata_groups';
		return $this->save($group);
	}
	
	function getGroups($cond = array()){
		
	}*/
}